package com.fsnbigdata.repository;

import com.fsnbigdata.domain.ZhKoppDocument;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface ZhKoppDocumentRepository extends JpaRepository<ZhKoppDocument,Long> {

    Integer deleteByKoppId(Long id);

    List <ZhKoppDocument> findAllByKoppId(Long id);
}
